if else hackerrank python